﻿using BLToolkit.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BLToolkit.Mapping;

namespace PlatForm.DataLayer
{
    [TableName("PickingDetail")]
    public class PickingDetail:Devsoft.DB.Models.Flat.Model<PickingDetail>
    {
        [PrimaryKey, Identity]
        public int PIKD_No { get; set; }

        public int PIK_No { get; set; }

        public int PIK_Time { get; set; }

        public float Gross { get; set; }

        public float Net { get; set; }

        public int Lon { get; set; }

        public int Trung { get; set; }

        public int Dau { get; set; }

        public int Be { get; set; }

        public float NaturalLoss { get; set; }

        public float ProcessLoss { get; set; }

        public string Notes { get; set; }

        public DateTime LastUpdated { get; set; }

        [Association(ThisKey = "PIK_No", OtherKey = "PIK_No", CanBeNull = false)]
        public Picking Picking;
    }
}
